<include file="Home/Public/Header" />
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp">
<link rel="stylesheet" href="__CSS__/cashier.css">
<link rel="stylesheet" href="__CSS__/new-footer.css">
</head>
<body>
<!--头部开始-->
<div class="new-cashier-hd">
  <div class="inner"> <a href="{:U('Home/Index')}" class="nc-logo">游戏卖 | 收银台</a>
    <div class="hd-rt-info"> <a href="{:U('Home/Member/Index')}" id="span_user" target="_blank"><span rel="nofollow" class="blue">{$member_info.nickname}</span></a> <span class="separator">|</span> <a href="{:U('Home/Member/MyOrderList')}" target="_blank">我的订单</a> </div>
  </div>
</div>
  <div class="new-cashier">
    <form id="payForm" action="{:U('Home/Buy/GotoPay')}" method="post">
    <div class="new-cashier-order">
      <div class="cashier-box top-alert">
        <div class="inner">
          <div class="hd-alert-box">
            <h2>当前采购交易存在卖家修改商品的可能，请您付款前进行二次核对订单信息。</h2>
          </div>
        </div>
      </div>
    </div>
    <!-- 收银台头部 -->
    <div class="new-cashier-order">
      <div class="cashier-box">
        <div class="inner clearfix">
          <!-- 图标 -->
          <i class="order-icon order-ok"></i>
          <!-- 订单详情 -->
          <div class="order-info">
            <h2 id="t_m">订单提交成功，请您尽快付款！<small>请您在提交订单后 <b><span id="t_t"></span></b> 内完成支付，否则订单会自动取消</small></h2>
            <ul class="detail">
              <li><span>单号：</span><em><b>{$order_info.order_sn}</b></em></li>
              <li><span>商品：</span><a href="{:U('Home/Goods/goods', 'id='.$order_info['goods_id'])}" target="_blank"><em>{$order_info.goods_title}</em></a></li>
              <li><span>区服：</span><em>
                <volist name="order_info.relation" id="v" key="key">
                  <php>$t = count($order_info['relation']);</php>
                  <if condition="$key gt 1">
                    {$v.gc_name} <if condition="$key lt $t">/</if>
                  </if>
                  </volist></em></li>
            </ul>
          </div>
          <div class="order-r">
            <div class="order-price"> 应付总额：<b id="payValue">{:order_amount($order_info['order_number'], $order_info['order_price'])}</b>元 </div>
          </div>
        </div>
      </div>
    </div>
    <div class="new-cashier-pay">

      <!-- 余额 -->

      <div class="cashier-box" id="nc-card">
        <div class="inner">
          <div class="pey-method clearfix"> <i class="checkbox checked" type="card" id="checkboxcard"></i>
            <div class="name">在线支付</div>
            <div class="uer-p-m">
              <div class="m-logo" style="display: block; background: url(__IMAGE__/pay/pay-3002.png) 0px 50% no-repeat;"></div>
            </div>
            <span style="color: rgb(150, 150, 150); display: block;" id="webclass">支付平台</span>
            <div class="pm-price" id="pm-card" style="display: block;"> 支付：<b id="spareBalance">{:order_amount($order_info['order_number'], $order_info['order_price'])}</b>元 </div>
          </div>
        </div>
      </div>
    </div>
    <div class="new-cashier-submit" id="new-cashier-submit">
      <!-- 支付密码 -->
      <div class="cashier-box">
        <div class="inner" id="submit-area">
          <div class="verifications">
            <input type="hidden" name="order_sn" value="{$order_info.order_sn}" />
            <input class="submit" id="hlkOK" title="" value="立即支付" type="submit">
            <div id="error" class="tip"></div>
          </div>
        </div>
      </div>
    </div>
    </form>
  </div>
<!-- footer -->
<include file="Home/Public/footer" />
<!-- footer -->
<script src="__SCRIPT__/jquery-1.8.3.min.js"></script>
<script src="__SCRIPT__/jquery.timer.js"></script>
<script>
  $('#t_t').timer({
    now:{:time()},
    count: {$expire}, //seconds, 过期时间
    offset:{$order_info.order_time},
    overtime: function(e){
      $('#t_m').html('订单已经超时！如有需要,请您<a href="{:U('Home/Buy/Order', 'id='.$order_info['goods_id'])}">重新购买</a>');
      $('#nc-card').hide();
      $('#new-cashier-submit').hide();
    }
  });
</script>
</body>
</html>